package com.crypto;

import java.util.HashMap;
import java.util.Map;

import com.crypto.impl.AESCryptographerImpl;

public class CryptoFactory {

	private static Map<CryptographerType, Cryptographer> map = new HashMap<CryptographerType, Cryptographer>();
	
	
	
	static {
		map.put(CryptographerType.AES, new AESCryptographerImpl());
	}
	

	
	public static Cryptographer getCryptoGrapher(CryptographerType type) {
		return map.get(type);
	}
}
